# !/usr/bin    python3
# encoding:    utf-8 -*-
# @file        : create_trade_apis.py
# @author      : 加强 jqlin
# @Time        : 2025/10/2 8:53
# @Copyright:  : 接口自动化
from api.base_api import BaseBuyerApi


class CreateTradeApi(BaseBuyerApi):

    def __init__(self, client='PC', way='BUY_NOW'):
        super().__init__()
        self.url = f'{self.host}/trade/create'
        self.method = 'post'
        self.data = {
            "client": client,
            "way": way
        }


